export const makeSectionMap = (csv: string): string[] => { const data = csv.split("\n").map((row) => row.split(",")); const sections = [] as string[]; for (const [section, end] of data) { while (sections.length <= parseInt(end)) { sections.push(section); } } return sections };